


const {getMovieDetailHttp} =  require("../../utils/http")
Page({
    data: {
       
    },
    onLoad: function (options) {
        console.log(options)
        var {id}=options;
        console.log(id)
        getMovieDetailHttp(id).then(res=>{
            console.log(res);
            var {pic,title,slogo}=res.data;
            this.setData(
                {pic,title,slogo}
            )


        })
    }
})